home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / PROGS / ADVANCED / Imakefile < prev    next >
Encoding:
Makefile  |  1998-08-12  |  3.0 KB  |  84 lines

  1.  
  2. /* Copyright (c) Mark J. Kilgard, 1996, 1998. */
  3.  
  4. #include "../../Glut.cf"
  5.  
  6. TARGETS = hiddenline haloed silhouette softshadow accumaa field convolve \
  7.   shadowvol shadowmap projshadow tess textile comp csg dissolve envmap \
  8.   envphong decal textext genmipmap imgproc mipmap_lines textrim tvertex \
  9.   warp motionblur projtex zcomposite videoresize occlude af_depthcue \
  10.   af_teapots multilight boundary shadowfun hello2rts rasonly sgiflag \
  11.   pointburst redblue_stereo texwinalign
  12.  
  13. SRCS = hiddenline.c haloed.c silhouette.c softshadow.c accumaa.c field.c \
  14.   convolve.c shadowvol.c shadowmap.c projshadow.c sphere.c tess.c texture.c \
  15.   textile.c comp.c csg.c dissolve.c envmap.c envphong.c decal.c textext.c \
  16.   textmap.c genmipmap.c imgproc.c mipmap_lines.c izoom.c textrim.c tvertex.c \
  17.   warp.c motionblur.c projtex.c zcomposite.c videoresize.c occlude.c \
  18.   addfog.c af_depthcue.c af_teapots.c multilight.c boundary.c shadowfun.c \
  19.   rts.c hello2rts.c rasonly.c sgiflag.c pointburst.c redblue_stereo.c \
  20.   texwinalign.c
  21.  
  22. AllTarget($(TARGETS))
  23.  
  24. SimpleGlutProgramTarget(accumaa)
  25. NormalGlutProgramTarget(af_depthcue,af_depthcue.o addfog.o)
  26. NormalGlutProgramTarget(af_teapots,af_teapots.o addfog.o)
  27. SimpleGlutProgramTarget(boundary)
  28. NormalGlutProgramTarget(comp,comp.o texture.o)
  29. SimpleGlutProgramTarget(csg)
  30. SimpleGlutProgramTarget(convolve)
  31. SimpleGlutProgramTarget(decal)
  32. SimpleGlutProgramTarget(dissolve)
  33. NormalGlutProgramTarget(envmap,envmap.o texture.o)
  34. SimpleGlutProgramTarget(envphong)
  35. SimpleGlutProgramTarget(field)
  36. NormalGlutProgramTarget(genmipmap,genmipmap.o texture.o)
  37. SimpleGlutProgramTarget(haloed)
  38. NormalGlutProgramTarget(hello2rts,hello2rts.o rts.o)
  39. SimpleGlutProgramTarget(hiddenline)
  40. NormalGlutProgramTarget(imgproc,imgproc.o texture.o)
  41. NormalGlutProgramTarget(mipmap_lines,mipmap_lines.o izoom.o texture.o)
  42. SimpleGlutProgramTarget(motionblur)
  43. SimpleGlutProgramTarget(multilight)
  44. SimpleGlutProgramTarget(occlude)
  45. SimpleGlutProgramTarget(pointburst)
  46. SimpleGlutProgramTarget(projshadow)
  47. NormalGlutProgramTarget(projtex,projtex.o texture.o)
  48. SimpleGlutProgramTarget(rasonly)
  49. SimpleGlutProgramTarget(redblue_stereo)
  50. SimpleGlutProgramTarget(sgiflag)
  51. SimpleGlutProgramTarget(shadowfun)
  52. SimpleGlutProgramTarget(shadowmap)
  53. SimpleGlutProgramTarget(shadowvol)
  54. SimpleGlutProgramTarget(silhouette)
  55. SimpleGlutProgramTarget(softshadow)
  56. NormalGlutProgramTarget(tess,tess.o sphere.o)
  57. NormalGlutProgramTarget(textext,textext.o textmap.o texture.o)
  58. NormalGlutProgramTarget(textrim,textrim.o texture.o)
  59. NormalGlutProgramTarget(textile,textile.o texture.o)
  60. SimpleGlutProgramTarget(texwinalign)
  61. SimpleGlutProgramTarget(tvertex)
  62. NormalGlutProgramTarget(videoresize,videoresize.o sphere.o)
  63. SimpleGlutProgramTarget(vox)
  64. NormalGlutProgramTarget(warp,warp.o texture.o)
  65. SimpleGlutProgramTarget(zcomposite)
  66.  
  67. DATA_LINKS = 00.rgb 02.rgb 04.rgb a.rgb mandrill.rgb 01.rgb 03.rgb 05.rgb b.rgb tree.rgb vox.bin.gz
  68.  
  69. links:
  70.     for i in $(DATA_LINKS); do \
  71.       /bin/rm -rf $$i ; \
  72.       ln -s ../../data/$$i . ; \
  73.     done
  74.  
  75. #ifdef RemoveFiles
  76. clean::
  77.     RemoveFiles($(DATA_LINKS))
  78. #else
  79. clean::
  80.     $(RM) $(DATA_LINKS)
  81. #endif
  82.  
  83. DependTarget()
  84.